#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "carobject.h"
#include "oled12832.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_verticalSlider_pwm_valueChanged(int value);
    void on_pushButton_reset_clicked();
    void on_pushButton_close_clicked();

    void on_verticalSlider_pwm_2_valueChanged(int value);

    void on_pushButton_reset_2_clicked();

    void on_pushButton_reset_4_clicked();

    void on_pushButton_reset_3_clicked();

    void on_verticalSlider_pwm_3_valueChanged(int value);

    void on_verticalSlider_pwm_4_valueChanged(int value);

private:
    Ui::MainWindow *ui;
    CarObject mCar;
    oled12832 oled;
};

#endif // MAINWINDOW_H
